package com.wetsion.securityoauthdemo.rmsclient.handler;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 认证失败的处理
 *
 * @author weixin
 * @version 1.0
 * @CLassName AuthenticationFailureHandler
 * @date 2019/3/8 3:52 PM
 */
public interface AuthenticationFailureHandler {

    /** 认证失败的处理 **/
    void onAuthenticationFailure(HttpServletRequest request,
                                 HttpServletResponse response)
            throws IOException, ServletException;
}
